namespace Admin2025.Domain.Repositories;

public interface IRepository<T>
{
  Task<IEnumerable<T>> GetAllAsync();
  Task<T?> GetByIdAsync(Guid id);
  Task CreateAsync(T entity);
  Task UpdateAsync(T entity);
  Task DeleteAsync(Guid id);
}